package top.ljlgithub.api.service;

import top.ljlgithub.api.bean.Cat;
import top.ljlgithub.api.bean.CatPageBean;
import top.ljlgithub.api.bean.PageCondition;
import top.ljlgithub.api.bean.TreeCat;
import top.ljlgithub.api.vo.CatParam;

import java.util.List;

public interface CatService {
    Object getCateTree(CatParam catParam);
    List<Cat> getCateList(CatParam catParam);
    Cat findCatById(Integer id);
    void deleteCateById(Integer id);
    Cat updateCate(Integer id,String cat_name);
    Cat addCate(Cat cat);
}
